/**
 * Copyright (c) 2018-2022 AnHui SSIST Intelligent Technology co., ltd
 * All rights reserved.
 * <p>
 * This software is the confidential and proprietary of
 * AnHui SSIST Intelligent Technology co., ltd. ("Confidential Information").
 * You shall not disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into with Sun.
 */


package com.example.feigndemo;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author zss
 * @Date 2023/4/13
 */
@FeignClient(name = "information-server",
        path = "/api/noAuth/news-api")
public interface INewsFeignNoAuthApi {

    /**
     * 获取
     *
     * @param cdn
     * @return
     */
    @PostMapping("getNews")
    String getNews(Cdn cdn);
}
